<ui:composition xmlns:ui="http://java.sun.com/jsf/facelets"
	xmlns:f="http://java.sun.com/jsf/core"
	xmlns:h="http://java.sun.com/jsf/html"
	xmlns:p="http://primefaces.org/ui" 
	template="/template/template.xhtml">
  
  <ui:define name="center">
  <h1 class="title ui-widget-header ui-corner-all"><h:outputText value="#{msg['title.registration']}"/></h1>
  <p:panel header="#{msg['profil.identifiants']}">
  	<h:form id="inscriptions" >
	 	<h:panelGrid columns="2">  
  			<h:outputText value="#{msg['profil.login']}*"/>
  			<p:inputText required="true"
  						id="Identifiant"
  						 value="#{registrationManagedBean.identifiant}"
  						 />
  						 
  			<h:outputText value="#{msg['profil.password']}*"/>
  			<p:password required="true" 
  						 id="Password"
  						 value="#{registrationManagedBean.password}" />
  			<h:outputText value="#{msg['profil.confirmPassword']}*" />
  			<p:password value="#{registrationManagedBean.confirm}"
  						required="true"
  						id="Confirmation"/>
  			<h:outputText/>
  			<p:commandButton action="#{registrationManagedBean.save}" value="Valider" ajax="false"/>
  		</h:panelGrid>
  		<br/>
  		<h:outputText styleClass="comment" value="#{msg['comment.obligatoire']}" />
  	</h:form>
  	<p:messages for="inscriptions" showSummary="false" showDetail="true"/>
  </p:panel>

 

  </ui:define>

</ui:composition>